.class final Lnbisdk/ji;
.super Lnbisdk/gb;


# instance fields
.field private hH:Lnbisdk/jy;

.field private mQ:Lnbisdk/kp;

.field private mR:Lnbisdk/fa;


# direct methods
.method constructor <init>(Lnbisdk/kp;Lnbisdk/jy;Lnbisdk/fa;)V
    .locals 0

    invoke-direct {p0}, Lnbisdk/gb;-><init>()V

    iput-object p1, p0, Lnbisdk/ji;->mQ:Lnbisdk/kp;

    iput-object p3, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    iput-object p2, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    return-void
.end method

.method private clear()V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    invoke-virtual {v0}, Lnbisdk/fa;->clear()V

    iput-object v1, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    iput-object v1, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    return-void
.end method


# virtual methods
.method public final a(Lnbisdk/dz;)V
    .locals 2

    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_0

    const/16 v0, 0x19

    invoke-static {v0}, Lnbisdk/cq;->J(I)V

    :cond_0
    invoke-super {p0, p1}, Lnbisdk/gb;->a(Lnbisdk/dz;)V

    iget-object v0, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    iget-object v1, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    invoke-interface {v0, v1}, Lnbisdk/jy;->onRequestCancelled(Lcom/navbuilder/nb/b;)V

    invoke-direct {p0}, Lnbisdk/ji;->clear()V

    return-void
.end method

.method public final a(Lnbisdk/dz;I)V
    .locals 2

    invoke-super {p0, p1, p2}, Lnbisdk/gb;->a(Lnbisdk/dz;I)V

    iget-object v0, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    iget-object v1, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    invoke-interface {v0, p2, v1}, Lnbisdk/jy;->onRequestProgress(ILcom/navbuilder/nb/b;)V

    return-void
.end method

.method public final a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V
    .locals 2

    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_0

    invoke-virtual {p2}, Lcom/navbuilder/nb/NBException;->getErrorCode()I

    move-result v0

    invoke-static {v0}, Lnbisdk/cq;->J(I)V

    :cond_0
    invoke-super {p0, p1, p2}, Lnbisdk/gb;->a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V

    iget-object v0, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    iget-object v1, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    invoke-interface {v0, p2, v1}, Lnbisdk/jy;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    invoke-direct {p0}, Lnbisdk/ji;->clear()V

    return-void
.end method

.method public final a(Lnbisdk/dz;Lnbisdk/fk;)V
    .locals 7

    const-string v0, "networklocation-position"

    invoke-static {p2, v0}, Lnbisdk/ij$a;->e(Lnbisdk/fk;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string v0, "networklocation-position"

    invoke-static {p2, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    new-instance v1, Lnbisdk/ei;

    new-instance v2, Lnbisdk/cs;

    const-string v3, "lat"

    invoke-static {v0, v3}, Lnbisdk/el;->a(Lnbisdk/fk;Ljava/lang/String;)D

    move-result-wide v3

    const-string v5, "lon"

    invoke-static {v0, v5}, Lnbisdk/el;->a(Lnbisdk/fk;Ljava/lang/String;)D

    move-result-wide v5

    invoke-direct {v2, v3, v4, v5, v6}, Lnbisdk/cs;-><init>(DD)V

    const-string v3, "accuracy"

    invoke-static {v0, v3}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v3

    long-to-int v3, v3

    const-string v4, "sourcetype"

    invoke-static {v0, v4}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v2, v3, v0}, Lnbisdk/ei;-><init>(Lnbisdk/cs;ILjava/lang/String;)V

    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_0

    invoke-static {v1}, Lnbisdk/cq;->a(Lnbisdk/ei;)V

    :cond_0
    iget-object v0, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    iget-object v2, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    invoke-interface {v0, v1, v2}, Lnbisdk/jy;->a(Lnbisdk/ei;Lnbisdk/ow;)V

    :goto_0
    invoke-direct {p0}, Lnbisdk/ji;->clear()V

    return-void

    :cond_1
    const-string v0, "networklocation-error"

    invoke-static {p2, v0}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v0

    const-string v1, "code"

    invoke-static {v0, v1}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v0

    long-to-int v0, v0

    sget-boolean v1, Lnbisdk/bk;->cG:Z

    if-eqz v1, :cond_2

    invoke-static {v0}, Lnbisdk/cq;->J(I)V

    :cond_2
    iget-object v0, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    const-string v1, "networklocation-error"

    invoke-static {p2, v1}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    const-string v2, "code"

    invoke-static {v1, v2}, Lnbisdk/iq;->b(Lnbisdk/fk;Ljava/lang/String;)J

    move-result-wide v1

    long-to-int v1, v1

    iget-object v2, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    invoke-interface {v0, v1, v2}, Lnbisdk/jy;->a(ILnbisdk/ow;)V

    goto :goto_0
.end method

.method public final a(Lnbisdk/ri;)V
    .locals 1

    iget-object v0, p0, Lnbisdk/ji;->mQ:Lnbisdk/kp;

    invoke-static {p1, v0}, Lnbisdk/qn;->a(Lnbisdk/ri;Lnbisdk/kp;)V

    return-void
.end method

.method public final b(Lnbisdk/dz;)V
    .locals 2

    sget-boolean v0, Lnbisdk/bk;->cG:Z

    if-eqz v0, :cond_0

    const/16 v0, 0x1005

    invoke-static {v0}, Lnbisdk/cq;->J(I)V

    :cond_0
    invoke-super {p0, p1}, Lnbisdk/gb;->b(Lnbisdk/dz;)V

    iget-object v0, p0, Lnbisdk/ji;->hH:Lnbisdk/jy;

    iget-object v1, p0, Lnbisdk/ji;->mR:Lnbisdk/fa;

    invoke-interface {v0, v1}, Lnbisdk/jy;->onRequestTimedOut(Lcom/navbuilder/nb/b;)V

    invoke-direct {p0}, Lnbisdk/ji;->clear()V

    return-void
.end method

.method protected final getType()Ljava/lang/String;
    .locals 1

    const-string v0, "location"

    return-object v0
.end method
